include $(GNUSTEP_MAKEFILES)/common.make

CTOOL_NAME = dyld
dyld_CCFLAGS += -I../mach/libkqueue/include -I../include -Ilibdispatch -Ilibdispatch/src -I.. -g
##dyld_OBJC_FILES +=#libsystem.m
dyld_LDFLAGS+=-ldl -lpthread start.s -g
#dyld need llvm headers
dyld_CCFLAGS+=-I/Developer/Cocotron/2.0/LLVM/include/
dyld_CC_FILES +=machload_new.cpp ImageLoaderMachO.cpp ImageLoaderElf.cpp ImageLoader.cpp
dyld_C_FILES +=preload.c
preloader_CFILES=preloader.c
preloader_LDFLAGS=-static -static -nostartfiles -nodefaultlibs -g -Wl,-Ttext=0x7c000000

	


include $(GNUSTEP_MAKEFILES)/ctool.make
